package com.cloud.api.domain.stats;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Schema(description = "车辆数据(服务站数据)")
public class VehicleDataRepair implements Serializable {


    @Schema(description = "报文时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING)
    private LocalDateTime opTime;

    @Schema(description = "车辆vin")
    @JsonIgnore
    private String vin;

    @Schema(description = "纬度")
    private String lat;

    @Schema(description = "经度")
    private String lng;

}
